<?php
/* CONSTANTS! */

// Image thumbnail thresholds
$IMGTHUMB_HEIGHT = 100;
$IMGTHUMB_WIDTH = 200;

// API Validating constants
$MAX_NUMBER_POSTS = 100;
$MAX_LENGTH_SUBJECT = 50;
$MIN_LENGTH_SUBJECT = 4;
$MAX_LENGTH_CONTENT = 1000;
$MIN_LENGTH_CONTENT = 4;
$MIN_RATING = 1;
$MAX_RATING = 5;

// Image paths
$IMAGE_PATH = "http://" . $_SERVER['HTTP_HOST'] . "/res/image/";
$THUMBNAIL_PATH = "http://" . $_SERVER['HTTP_HOST'] . "/res/thumbs/";
?>